package com.itheima.domain;

import java.util.List;

/*
    封装分页相关信息

 */
public class PageBean {
    //当前页码
    private Integer pageNum;
    //总记录数
    private Long total;
    //总页数
    private Long pages;

    private List<Object> list;

    public List getList() {
        return list;
    }

    public void setList(List list) {
        this.list = list;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Long getPages() {
        return pages;
    }

    public void setPages(Long pages) {
        this.pages = pages;
    }
}
